package cn.itcast.webmagicDemo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;

/**
 *  定义SpringBoot项目的启动类
 */
@SpringBootApplication // springboot项目的启动注解
@EnableScheduling // 设置支持定时任务
public class JobCrawlerSpringBootApplication {
    public static void main(String[] args) {
        SpringApplication.run(JobCrawlerSpringBootApplication.class,args);
    }
}
